package com.jxm.bootstudy;

import com.jxm.bootstudy.listener.AppApplicationListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

	@Bean
	public AppApplicationListener appApplicationListener(){
		return new AppApplicationListener();
	}
}
